package com.chaofan.websocket.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program: websocket
 * @description: 用户流水
 * @author: Mr.sun
 * @create: 2020-11-13 23:31
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("admin_user_flowing")
public class UserFlowing {

    private static final long serialVersionUID = -1840831686851699943L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 微信号 */
    private String wexinId;

    /** 微信名称 */
    private String wexinName;

    /** 房间号 */
    private String room;

    /** 支出类型 */
    private Integer payType;

    /** 变化金额 */
    private BigDecimal payPrice;

    /** 备注 */
    private String remark;

    private Integer isFlowing;

    private Long period;

    private Long betId;

    /** 起始金额 */
    private BigDecimal startPrice;

    /** 结束金额 */
    private BigDecimal endPrice;

    private Date updateTime;

    private Date createTime;

}
